package cn.edu.scau.cmi.yangjiamin.springhibernate;



import java.util.Set;
import java.util.HashSet;


public class Teacher {
	private Integer tea_id;
	
	private String tea_name;
	
	private Set<Student> students = new HashSet<>();

	public Teacher() {
		
	}
	
	
	public Teacher(String tea_name)   {
		this.tea_name = tea_name;
	}

	public Integer getTea_id() {
		return tea_id;
	}

	public void setTea_id(Integer tea_id) {
		this.tea_id = tea_id;
	}

	public String getTea_name() {
		return tea_name;
	}

	public void setTea_name(String tea_name) {
		this.tea_name = tea_name;
	}


	public Set<Student> getStudents() {
		return students;
	}


	public void setStudents(Set<Student> students) {
		this.students = students;
	}

	
}
